package com.yang.zngcxyxkjs.mapper;

import com.yang.zngcxyxkjs.pojo.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminMapper {

    Admin adminLogin(String account,String password);

    List<Admin> selectAdminByFaceId(Object faceid);

    Integer insertAdminLoginlog(LoginLog loginlog);

    List<Student> selectAllStudents();

    List<Teacher> selectAllTeachers();

    List<Notice> selectAllNotice();
}
